/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.irssproject.app.entitats.recommendations;

import java.io.Serializable;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 * @author adria
 */
@Entity
@Table(name = "users_subscription")
public class UserSubscription implements Serializable {

    private static final long serialVersionUID = 1L;
    protected UserSubscriptionPK userSubscriptionPK;

    public UserSubscription() {
    }

    public UserSubscription(UserSubscriptionPK userSubscriptionPK) {
        this.userSubscriptionPK = userSubscriptionPK;
    }

    @EmbeddedId
    public UserSubscriptionPK getUserSubscriptionPK() {
        return userSubscriptionPK;
    }

    public void setUserSubscriptionPK(UserSubscriptionPK userSubscriptionPK) {
        this.userSubscriptionPK = userSubscriptionPK;
    }

}
